<template>
  <div id="app">
    <VantLoading></VantLoading>
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive" />
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive" />
  </div>
</template>
<script>
import _ from "lodash";
import VantLoading from "@/components/VantLoading.vue";
export default {
  name: "app",
  components: {
    VantLoading,
  },
};
</script>
<style lang="less">
#app {
  position: relative;
  z-index: 0;
}
</style>
